﻿using System.Web.Mvc;
// ReSharper disable once CheckNamespace
namespace Sharp.Portal.Mvc
{
    public class NoCacheAttribute : ActionFilterAttribute
    {
        public override void OnResultExecuting(ResultExecutingContext filterContext)
        {
            filterContext.HttpContext.Response.Cache.SetNoStore();
        }
    }
}
